package com.stnet.dao.enterprice.chinamobile;

import java.util.List;

import com.modules.commons.Pager;
import com.stnet.entity.Saleorder;

/**
 * @author Messcat
 * @version 1.1
 *
 */
public interface SaleorderDao
{

    public  Saleorder get(Long id);

    public  void save(Saleorder saleorder);

    public  void update(Saleorder saleorder);

    public  void delete(Saleorder saleorder);

    public  void delete(Long id);

    public  List findAll();

    public  Pager getObjectListByClass(int i, int j, Class class1, String s);
    
    public List findSaleorderByAgent(Long agent);
    
    public Pager getListByAgent(int pageSize, int pageNo, Long agent);
    
}